package com.ydd.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Description TODO
 * @Author itheima
 * @Date 2023-05-29 16:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "管理员添加")
public class SYSUserDTO implements Serializable {
    @ApiModelProperty("姓名")
    private String name;
    @ApiModelProperty("账户名")
    private String login_name;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("邮箱")
    private String email;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("角色ID数组")
    private List<String> role_id;
    @ApiModelProperty("账户状态，1启用，0禁用")
    private Integer status;
    @ApiModelProperty("id")
    private String id;

}
